import lombok.Data;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;

@Data
@ToString
public class Person implements Serializable {
    private String name;
    private int age;
    transient private int height;
    static boolean alive = true;

    @Serial
    private static final long serialVersionUID = 7123498L;

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Person() {
    }

}
